package com.weipai.springboot.module.mapper;

import com.weipai.springboot.model.CustomerIntegral;

import java.util.List;
import java.util.Map;

public interface CustomerIntegralMapper {
    int deleteByPrimaryKey(Long integralId);

    int insert(CustomerIntegral record);

    int insertSelective(CustomerIntegral record);

    CustomerIntegral selectByPrimaryKey(Long integralId);

    int updateByPrimaryKeySelective(CustomerIntegral record);

    int updateByPrimaryKey(CustomerIntegral record);

    //获取用户的积分记录
    List<Map<String,Object>> getCustomerIntegralInfo(String customerId);
}